package net.kazed.nextaction.database.serialize;

public interface XmlEncoder {

    /**
     * Encode value.
     * @param value Value to be encoded.
     * @return Encoded value usable in XML.
     */
    String encode(String value);
    
    /**
     * Decode value
     * @param value Encoded value usable in XML.
     * @return Decoded value.
     */
    String decode(String value);
}
